﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShiQuan.IotDevice.Entity
{
    /// <summary>
    /// 设备供货商
    /// </summary>
    public class SupplierInfoEntity : BasicIotDeviceEntity
    {
        /// <summary>
        /// 编号
        /// </summary>
        [Display(Name = "编号"), MaxLength(50)]
        public string Code { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [Display(Name = "名称"), MaxLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        [Display(Name = "负责人"), MaxLength(50)]
        public string Leader { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        [Display(Name = "联系人"), MaxLength(50)]
        public string Linkman { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [Display(Name = "联系电话"), MaxLength(50)]
        public string Contract { get; set; }
        /// <summary>
        /// 微信
        /// </summary>
        [Display(Name = "微信"), MaxLength(50)]
        public string WeChat { get; set; }
        /// <summary>
        /// QQ
        /// </summary>
        [Display(Name = "QQ"), MaxLength(50)]
        public string QQ { get; set; }
        /// <summary>
        /// 联系地址
        /// </summary>
        [Display(Name = "联系地址"), MaxLength(255)]
        public string Address { get; set; }
        /// <summary>
        /// 备注说明
        /// </summary>
        [Display(Name = "备注说明"), MaxLength(255)]
        public string Remark { get; set; }
    }
}
